tree-wide: Add a few missing O_CLOEXEC
authorColin Walters <walters@verbum.org>
Tue, 16 May 2017 16:42:45 +0000 (12:42 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 16 May 2017 17:34:46 +0000 (17:34 +0000)
commit90cd7f72344fc84da9d1f73189bdeebdcc4596aa
treee2fc1c6f8c807b28205d80e3a8db68d6237d2497
parent30705889cb867c18cdb7fed8e55dc46477c069fa
tree-wide: Add a few missing O_CLOEXEC

I noticed an instance of this while working on https://github.com/ostreedev/ostree/pull/861
Which apparently I cargo-culted into the new system generator bits.
Let's break this out as a small concise change.

Closes: #866
Approved by: jlebon
src/libostree/ostree-fetcher-curl.c
src/libostree/ostree-impl-system-generator.c
src/switchroot/ostree-prepare-root.c